//
//  GoodsModel.m
//  StandardizedProduct
//
//  Created by 洛水寒 on 16/7/28.
//  Copyright © 2016年 ym. All rights reserved.
//

#import "GoodsModel.h"

@implementation GoodsModel
+ (GoodsModel *)parseUserWithDictionary:(NSDictionary *)dict

{
    GoodsModel *goods = [[GoodsModel alloc]init];
    goods.Title = [NSString stringWithFormat:@"%@",[dict objectForKey:@"Title"] ];
    goods.ProductSmallUrl = [NSString stringWithFormat:@"%@%@", BaseURLStringString, [dict objectForKey:@"ProductSmallUrl"]];
    goods.Price = [NSString stringWithFormat:@"%@",[dict objectForKey:@"Price"] ];
    goods.Id = [NSString stringWithFormat:@"%@", [dict objectForKey:@"Id"]];
    goods.ProductCode = [NSString stringWithFormat:@"%@",[dict objectForKey:@"ProductCode"] ];
    goods.MarketPrice = [NSString stringWithFormat:@"%@", [dict objectForKey:@"MarketPrice"]];
    goods.NianFen = [NSString stringWithFormat:@"%@", [dict objectForKey:@"NianFen"]];
  
    return goods;
}
@end
